<template>
  <div class="goods-car cenCen">
    <img src="https://gw.alicdn.com/tfs/TB14ukNHbPpK1RjSZFFXXa5PpXa-200-200.png">
    <div v-if="$store.state.buyTicket.carTicketSumList.length" class="goods-num cenCen">
      {{ $store.state.buyTicket.carTicketSumList.length }}
    </div>
  </div>
</template>
<style scoped>
.goods-car {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #121215;
  margin: 0px 4px 0px 0px;
  position: relative;
  cursor: pointer;
}
.goods-car > img {
  width: 42px;
  height: auto;
}
.goods-num {
  position: absolute;
  right: -4px;
  top: -3px;
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 0px;
  border-radius: 50%;
  background: #f15533;
  /* font-family: PingFangSC-Medium; */
  font-size: 20px;
  color: #ffffff;
}
</style>
